import request from '@/libs/request'

//渠道
export function passage_index(data) {
  return request.get('passage/passage/index',data)
}
export function passage_add_post(data) {
  return request.post('passage/passage/add',data)
}
export function passage_edit_post(data) {
  return request.post('passage/passage/edit',data)
}
export function passage_list(data) {
  return request.get('passage/passage/passageList',data)
}
export function goods_list(data) {
  return request.get('passage/passage/goodsList',data)
}
//卡管理
export function goods_index(data) {
  return request.get('passage/goods/index',data)
}
export function goods_add_post(data) {
  return request.post('passage/goods/add',data)
}
export function goods_edit(data) {
  return request.get('passage/goods/edit',data)
}
export function goods_edit_post(data) {
  return request.post('passage/goods/edit',data)
}
export function goods_reset_get(data) {
  return request.get('passage/goods/reset',data)
}
export function goods_reset(data) {
  return request.post('passage/goods/reset',data)
}
export function goods_getCgoods(data) {
  return request.get('passage/goods/getCgoods',data)
}
export function goods_city_list(data) {
  return request.get('passage/goods/getCityList',data)
}
//佣金模板
export function muban_index(data) {
  return request.get('passage/muban/index',data)
}
export function muban_add(data) {
  return request.get('passage/muban/add',data)
}
export function muban_edit(data) {
  return request.get('passage/muban/edit',data)
}
export function muban_del(data) {
  return request.post('passage/muban/del',data)
}
export function mubanfee_index(data) {
  return request.get('passage/muban_fee/index',data)
}
export function mubanfee_edit(data) {
  return request.get('passage/muban_fee/edit',data)
}
